<?php

/**
 * 更新缓存
 * @author Kevin_ren  <330202207@qq.com>
 */

namespace Admin\Controller;

use Common\Controller\BaseManageController;

class  CleanController extends BaseManageController
{

    /**
     * 更新缓存
     * @author Kevin_ren  <330202207@qq.com>
     */
    public function cache()
    {
        delFileByDir(ROOT_DIR.'/Cache/Temp/');
        $this->success('更新缓存成功！', U('index/main'));
    }
    
}
